## 比较运算符
a = 10
b = 9

c,d = 10,10

print('a>b ?', a>b)
print('a<b ?', a<b)
print('a=b ?', a==b)        # == 判断两个值相等；

print('a>=b ?', a>=b)
print('a<=b ?', a<=b)
print('a!=b ?', a!=b)

print('c is d ?', c is d, id(c), id(d)) # is 判断两个值的id相同

list1 = [1,2,3]
list2 = [1,2,3]
print(list1 == list2) # True
print(list1 is list2) # False
print(list1 is not list2) # True
# 执行结果如下：
'''
a>b ? True
a<b ? False
a=b ? False
a>=b ? True
a<=b ? False
a!=b ? True
'''